//
//  SAUserInfoManager.h
//  Shikamaru
//
//  Created by FangGeek on 2017/4/10.
//  Copyright © 2017年 FangGeek. All rights reserved.
//

#import <Foundation/Foundation.h>
@class SAUserInfoModel;
@interface SAUserInfoManager : NSObject
/**
 *  单例工厂方法
 */
SASINGLETON_FOR_HEADER(SAUserInfoManager);
@property (nonatomic, strong) SAUserInfoModel *model;

/**
 *  存储个人信息
 */
- (void)saveLoginInfo;

/**
 *  退出登录
 */
- (void)logoutWithComeBack:(requestSuccess)requestSuccess;

- (void)cleanLoginInfo;

@end

/**
 *  model
 */
@interface SAUserInfoModel : NSObject

@property(nonatomic, copy) NSString *_id;

/**
 商家id
 */
@property(nonatomic, copy) NSString *shopId;

/** 门店id */
@property(nonatomic, copy) NSString *storeId;


/**
 店员姓名
 */
@property (nonatomic, copy) NSString *empName;
/**
 *  店员昵称
 */
@property (nonatomic, copy) NSString *empNickName;

/**
 性别
 */
@property (nonatomic, copy) NSString *sex;

@property (nonatomic, copy) NSString *phone;

@property (nonatomic, copy) NSString *email;

@property (nonatomic, copy) NSString *wxNumber;

@property (nonatomic, copy) NSString *wxOpenId;


@property (nonatomic, copy) NSString *wxUserId;
@property (nonatomic, copy) NSString *photo;

@property (nonatomic, copy) NSString *storeName;

@property (nonatomic, copy) NSString *identityCollect;

@property (nonatomic,assign) NSInteger row;
@end

